package com.logisticsrepair.mapper;
import java.util.List;
import java.util.Map;

import com.logisticsrepair.customEntity.UserRolePermissionEntity;
import com.logisticsrepair.entity.UserRoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author huahua
* @description 针对表【user_role(用户角色关联表)】的数据库操作Mapper
* @createDate 2022-05-13 22:32:38
* @Entity com.logisticsrepair.entity.UserRoleEntity
*/
public interface UserRoleMapper extends BaseMapper<UserRoleEntity> {

    /**
     * 查询用户角色
     * @param openid 微信openid
     * @return UserRolePermissionEntity
     */
    UserRolePermissionEntity queryUserRoleByUserId(@Param("openid") String openid);
}




